
class SchedulesData {
  String? patientno;
  String? teamno;
  int? servicepackageid;
  int? checkid;
  String? patientname;
  double? patientage;
  String? idcardno;
  String? teamname;
  String? packagename;
  String? servicestatus;
  String? checkname;
  dynamic content;

  SchedulesData({this.patientno, this.teamno, this.servicepackageid, this.checkid, this.patientname, this.patientage, this.idcardno, this.teamname, this.packagename, this.servicestatus, this.checkname, this.content});

  SchedulesData.fromJson(Map<String, dynamic> json) {
    if(json["patientno"] is String) {
      patientno = json["patientno"];
    }
    if(json["teamno"] is String) {
      teamno = json["teamno"];
    }
    if(json["servicepackageid"] is int) {
      servicepackageid = json["servicepackageid"];
    }
    if(json["checkid"] is int) {
      checkid = json["checkid"];
    }
    if(json["patientname"] is String) {
      patientname = json["patientname"];
    }
    if(json["patientage"] is double) {
      patientage = json["patientage"];
    }
    if(json["idcardno"] is String) {
      idcardno = json["idcardno"];
    }
    if(json["teamname"] is String) {
      teamname = json["teamname"];
    }
    if(json["packagename"] is String) {
      packagename = json["packagename"];
    }
    if(json["servicestatus"] is String) {
      servicestatus = json["servicestatus"];
    }
    if(json["checkname"] is String) {
      checkname = json["checkname"];
    }
    content = json["content"];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["patientno"] = patientno;
    _data["teamno"] = teamno;
    _data["servicepackageid"] = servicepackageid;
    _data["checkid"] = checkid;
    _data["patientname"] = patientname;
    _data["patientage"] = patientage;
    _data["idcardno"] = idcardno;
    _data["teamname"] = teamname;
    _data["packagename"] = packagename;
    _data["servicestatus"] = servicestatus;
    _data["checkname"] = checkname;
    _data["content"] = content;
    return _data;
  }
}